If you use XML in your Web pages, use the XML import and export features to work with your XML content. You can export the editable regions of a document that uses a template so that you can work with that content outside Dreamweaver, or you can merge the content of an XML document with an existing Dreamweaver template. For more information on XML, see About XML.
To export a document's editable regions as XML:
1 | Choose File > Open, and open a document that uses a template (and has editable regions). |
2 | Choose File > Export > Export Editable Regions as XML. |
3 | In the XML dialog box, choose a tag notation and click OK. |
See Using XML tag notations. | |
4 | In the dialog box that appears, enter a name for the XML file and click Save. |
When the document is exported, the generated XML file contains the name of the template the document is using and all editable region names. | |
![]() |
To import XML content:
1 | Choose File > Import XML into Template. |
2 | Select the XML file and click Open. |
When the XML file is imported, Dreamweaver merges the XML content with the template specified in the XML file and displays the result in a new Document window. If the specified template is not found, Dreamweaver prompts you to select a template to use. | |
![]() |